package com.aaa.gs.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description: 远程调用角色 服务
 * @Author: CH
 */
@FeignClient(name = "SystemService",contextId = "roleService",url = "http://172.16.8.81:18350")
public interface RemoteRoleService {
    @PostMapping("/role/roleKey")
    List<String> queryRoleKey(@RequestParam("userId") Integer userId);
}
